<?php


namespace Littlexiaoshuishui\Upay\Gateways\Qfpay;


use Littlexiaoshuishui\Upay\Abstracts\GatewayInterface;

class WebGateway implements GatewayInterface
{
    private $config;

    public function __construct(array $config)
    {
        $this->config = $config;
    }


    public function pay(array $data, $type=null)
    {
        var_dump($this->config);
    }

    public function find($order, $type=null)
    {
        // TODO: Implement find() method.
    }

    public function refund(array $order)
    {
        // TODO: Implement refund() method.
    }

    public function withdraw(array $data, $type=null)
    {
        // TODO: Implement withdraw() method.
    }

    public function verify($data)
    {
        // TODO: Implement verify() method.
    }
}